<!--add comment-->
<div class=comment_label>
  <%if comments.size == 0%>
    <%="Be the first to post a comment".t%>
  <%else%>
    <%="%d comments so far"/comments.size%>
  <%end%>
</div>
<%comments.each do |cm|%>
  <div class='comment_body'%>
    <%if @cur_user.id == cm.user.id%>
       <div class="user_cur"%>
         <span class=float_right>
           <%=link_to_remote image_tag("trash.gif",:border=>0),:confirm=>"Are you sure?".t,:url=>project_message_comment_path(cm.message.project,cm.message,cm),:method=>'delete'%>
         </span>
     <%else%>
       <div class="user"%>
     <%end%>
       <strong><%=cm.user.name%></strong> 
       <%="on".t%>
       <%=cm.created_at.strftime("%Y-%m-%d %H:%M")%>
    </div>
      <%=image_tag"person_avatar.gif"%>
      <%=cm.body%>
  </div>
<%end%>
